﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ExpertAnswerOffLineQuestion.aspx.cs"
	Inherits="Admin_ExpertAnswerOffLineQuestion" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>无标题页</title>
</head>
<body>
	<form id="form1" runat="server">
		<asp:GridView runat="server" ID="GrvQuestion">
			<Columns>
				<asp:BoundField HeaderText="序号" />
				<asp:BoundField DataField="AskerName" HeaderText="提问者" />
				<asp:BoundField DataField="Content" HeaderText="问题" HtmlEncode="false" />
				<asp:BoundField DataField="DateTime" HeaderText="时间" />
				<asp:TemplateField>
					<ItemTemplate>
						<asp:LinkButton runat="server" Text="回答" CommandName="Answer" ID="LBtnAnswer" CommandArgument = '<%# Eval("ID")%>'></asp:LinkButton>
					</ItemTemplate>
				</asp:TemplateField>
			</Columns>
		</asp:GridView>
		<div>
			<table>
				<tbody>
					<tr>
						<td>姓名</td>
						<td><asp:Label runat="server" ID="LabAskername"></asp:Label></td>
					</tr>
					<tr>
						<td>问题</td>
						<td><asp:TextBox runat="server" ID="TbQuestion" TextMode="MultiLine" Enabled="false"></asp:TextBox></td>
					</tr>
					<tr>
						<td>回答</td>
						<td><asp:TextBox runat="server" ID="TbAnswer" TextMode="MultiLine"></asp:TextBox></td>
					</tr>
				</tbody>
			</table>
			<asp:Button runat="server" ID="BtnAnswer" Text="回答" />
		</div>
	</form>
</body>
</html>
